package edu.sctu.zhoudie.mouth201505.day20150505;

/**
 * Created by user08 on 2015/5/5.
 */
public class Main {

    public static void main(String[] args) {

        //InterfaceWay isGet;

        Message message = new Message();

        message.getColor();
        message.getSize();
        message.getAction();


        message.myWay(new InterfaceWay() {

            @Override
            public void isGet(String color, int size, String action) {

                System.out.println("color=" + color + " size=" + size + " action=" + action);

            }


        });
    }
}
